package at.ac.tuwien.lsds.model;

public class ApplicationImpl implements Application{

	private Integer hdd;	// in MB
	private Integer ram;	// in MB
	private Integer cpu;	// in MHz
	private Integer timestamp;
	private Integer duration;
	
	public ApplicationImpl(Integer hdd, Integer ram, Integer cpu, Integer timestamp, Integer duration) {
		this.hdd = hdd;
		this.ram = ram;
		this.cpu = cpu;
		this.timestamp = timestamp;
		this.duration = duration;
	}
	
	@Override
	public Integer getTimestamp() {
		return timestamp;
	}
	
	@Override
	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	@Override
	public Integer getDuration() {
		return duration;
	}
	
	@Override
	public Integer getHdd() {
		return hdd;
	}
	@Override
	public Integer getRam() {
		return ram;
	}
	@Override
	public Integer getCpu() {
		return cpu;
	}

	@Override
	public String toString() {
		return "Application [timestamp=" + timestamp + ", hdd=" + hdd + ", ram=" + ram + ", cpu=" + cpu + ", duration=" + duration + "]";
	}

	
}
